# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=thumbdrives
pkgver=0.3.1
pkgrel=1
pkgdesc="Mass storage and iso emulator"
url="https://git.sr.ht/~martijnbraam/thumbdrives"
arch="noarch"
license="MIT"
depends="python3 py3-gobject3 py3-xdg py3-setuptools gtk+3.0 libhandy"
makedepends="py3-setuptools glib-dev libhandy-dev meson ninja"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/thumbdrives/archive/$pkgver.tar.gz"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="3d4d901975ef1f3ccda6df9a371944702f28ba4590ab9b3758f53b2f38bd5aa666660d720428836f99c6a7adb6333399e3991c6a641273f72fa9c4e0ec2362b2  thumbdrives-0.3.1.tar.gz"
